package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardServiceprogressUpdateRequest struct {
	/*
	   服务进度信息     */
	UpdateServiceProgressRequest *domain.TmallServicecenterWorkcardServiceprogressUpdateUpdateServiceProgressRequest `json:"update_service_progress_request" required:"true" `
}

func (s *TmallServicecenterWorkcardServiceprogressUpdateRequest) SetUpdateServiceProgressRequest(v domain.TmallServicecenterWorkcardServiceprogressUpdateUpdateServiceProgressRequest) *TmallServicecenterWorkcardServiceprogressUpdateRequest {
	s.UpdateServiceProgressRequest = &v
	return s
}

func (req *TmallServicecenterWorkcardServiceprogressUpdateRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.UpdateServiceProgressRequest != nil {
		paramMap["update_service_progress_request"] = util.ConvertStruct(*req.UpdateServiceProgressRequest)
	}
	return paramMap
}

func (req *TmallServicecenterWorkcardServiceprogressUpdateRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
